package com.danskin.wechat.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class SceneQrcode implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5490899880524360585L;

	private Integer id;
	/*
	 * 公众号ID
	 **/
	private Integer mpId;
	/*
	 * 二维码分类（1：场景活动二维码；2：门店二维码；）
	 **/
	private Integer type;
	/*
	 * 渠道/活动名称
	 **/
	private String name;
	/*
	 * 类型（0：临时二维码；1：永久二维码）
	 **/
	private Integer limitType;
	/*
	 * 开始时间
	 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date startTime;
	/*
	 * 过期时间
	 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date expiredTime;
	/*
	 * 场景值ID，临时二维码时为32位非0整型
	 **/
	private Integer sceneId;
	/*
	 * 场景值ID（字符串形式的ID）
	 **/
	private String sceneStr;
	/*
	 * 二维码ticket
	 **/
	private String ticket;
	/*
	 * 二维码链接
	 **/
	private String qrcodeUrl;
	/*
	 * 扫描次数
	 **/
	private Integer scanTimes;
	/*
	 * 微信消息设置ID
	 **/
	private Integer messageId;

	private String couponTemplateId;
	/*
	 * 创建时间
	 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createdTime;
	/*
	 * 最后一次修改时间
	 **/
	private Date lastModifiedTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMpId() {
		return mpId;
	}

	public void setMpId(Integer mpId) {
		this.mpId = mpId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLimitType() {
		return limitType;
	}

	public void setLimitType(Integer limitType) {
		this.limitType = limitType;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}

	public Integer getSceneId() {
		return sceneId;
	}

	public void setSceneId(Integer sceneId) {
		this.sceneId = sceneId;
	}

	public String getSceneStr() {
		return sceneStr;
	}

	public void setSceneStr(String sceneStr) {
		this.sceneStr = sceneStr;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public String getQrcodeUrl() {
		return qrcodeUrl;
	}

	public void setQrcodeUrl(String qrcodeUrl) {
		this.qrcodeUrl = qrcodeUrl;
	}

	public Integer getScanTimes() {
		return scanTimes;
	}

	public void setScanTimes(Integer scanTimes) {
		this.scanTimes = scanTimes;
	}

	public Integer getMessageId() {
		return messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getLastModifiedTime() {
		return lastModifiedTime;
	}

	public void setLastModifiedTime(Date lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}

	public String getCouponTemplateId() {
		return couponTemplateId;
	}

	public void setCouponTemplateId(String couponTemplateId) {
		this.couponTemplateId = couponTemplateId;
	}
}
